package yagwl.client.model.fnd;

import java.util.logging.Logger;

public class SessionCache {
  private static final Logger log = Logger.getLogger(SessionCache.class
      .getName());
  private static final SessionCache sessionCache = new SessionCache();

  public static SessionCache getInstance() {
    return sessionCache;
  }

  private SessionCache() {
  }

  private SessionDto session;

  public SessionDto getSession() {
    return session;
  }

  public void setSession(SessionDto session) {
    log.info("Setting GWTContext; sessionToken=" + session.getSessionToken());
    this.session = session;
  }
}
